package com.yuyou.fn.platform.entity;

import java.io.Serializable;
import java.util.Date;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

/**
 *
 * 角色资源关系表
 *
 */
@TableName(value = "sys_role_resource")
public class SysRoleResource implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<SysRoleResource> createExample(){
		return new Example<SysRoleResource>(SysRoleResource.class);
	}

	/**  */
	@TableId(value = "role_resource_id")
	private Long roleResourceId;

	/**  */
	@TableField(value = "resource_id")
	private Long resourceId;

	/**  */
	@TableField(value = "role_id")
	private Long roleId;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	public Long getRoleResourceId() {
		return this.roleResourceId;
	}

	public void setRoleResourceId(Long roleResourceId) {
		this.roleResourceId = roleResourceId;
	}

	public Long getResourceId() {
		return this.resourceId;
	}

	public void setResourceId(Long resourceId) {
		this.resourceId = resourceId;
	}

	public Long getRoleId() {
		return this.roleId;
	}

	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}
